﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class GameAds : MonoBehaviour
{
    public void Awake()
    {
        AdManager1.instance.InitData();

    }
    // Start is called before the first frame update
    void Start()
    {
        if (AdManager1.instance.ShieldAddress)
        {  }
        else
        {
            CheckTouch.Show();
        }

    }
    public void ShowAd()
    {
        AdManager.single.ShowNative();
    }
    public void ShowHeitAd()
    {
        if (!AdManager1.instance.ShieldAddress)
        {
            AdManager.single.ShowNative();
        }

    }

    // Update is called once per frame
    void Update()
    {
        
    }
}
